package com.central.operate.service;

import com.central.model.common.PageResult;
import com.central.operate.model.LoginInfo;
import com.central.operate.model.OperateRecord;
import com.central.operate.model.RecordTime;
import com.central.operate.vo.LoginCountVO;
import com.central.operate.vo.RegisterCountChartVO;

import java.util.List;
import java.util.Map;

public interface LoginCountService {

    /**根据时间查找一天内的各个时间段的登录量*/
//    PageResult<RecordTime> listLoginCount(Map<String, Object> params);
    PageResult<LoginCountVO> listLoginCount(String time);

    /**在线玩家查询*/
    PageResult<LoginInfo> listOnline(Map<String, Object> params);

    /**一小时内登录过*/
    Integer countOnlineHistory(Map<String, Object> params);

    /**一小时内的登录人次*/
    Integer countLoginCountHistory(Map<String, Object> params);

    List<RegisterCountChartVO> listLoginCount(Map<String, Object> params);

    List<RegisterCountChartVO> listOnlineCount(Map<String, Object> params);
}
